package com.wwmz.bridge.pattern.message;

/**
 * Created by wumz on 2020/9/21 14:07
 */
public abstract class AbstractMessage {

    protected IMessage message;

    public AbstractMessage(IMessage message) {
        this.message = message;
    }

    public void createMessage(String content, String toUser){
        this.message.createMessage(content, toUser);
    }
}
